<div class="user-box clearfix {neq name="action" value="index"} hidden-xs{/neq}"> 
{php}$visitors_list = zanpian_mysql_visitors('uid:'.$userinfo['userid'].';limit:8;order:visitors_addtime desc');{/php}
{notempty name="visitors_list"}
<div class="user-center-title pt-0"><h2 class="text-color">最近访客</h2></div>        
<ul class="box-star-list clearfix" >
{volist name="visitors_list" id="fk"}
<li class="col-md-4 col-sm-4 col-xs-3"><a class="star-pic loading img-circle" data-original="{:ps_getavatar($fk['visitors_userid'],$fk['pic'],$fk['api'][0]['avatar'],'middle')}" style="padding-top:100%;" href="{:zanpian_user_url('user/home/index',array('id'=>$fk['visitors_userid']))}"><span class="text-overflow">{$fk.nickname}</span></a>
</li>
{/volist}
</ul>
</div>
  {else /} 
<div class="user-center-title pt-0 hidden-xs"><h2 class="text-color">最近用户</h2></div>
{php}$user_list = zanpian_mysql_user('limit:9;order:lastdate desc');{/php}        
<ul class="box-star-list clearfix" >
{volist name="user_list" id="zanpian"} 
<li class="col-md-4 col-sm-4 col-xs-3"><a class="star-pic img-circle"  style="background: url({$zanpian['user_imageurl']['big']}) no-repeat top center;padding-top:100%;background-position:50% 50%;background-size:cover;" href="{$zanpian['user_readurl']}"><span class="text-overflow">{$zanpian.nickname}</span></a>
</li>
{/volist}
</ul>
</div>
{/notempty}
{php}$star_hits=zanpian_mysql_star('limit:12;field:star_id,star_cid,star_name,star_letters,star_content,star_pic,star_pic,star_zy,star_area;stars:5;cahce_name:default;cahce_time:86400;order:star_hits_day desc');{/php}
{notempty name="star_hits"}
<div class="user-box clearfix mt20 {neq name="action" value="index"} hidden-xs{/neq}"> 
<div class="user-center-title pt-0"><h2 class="text-color">热门明星</h2></div>        
<ul class="box-star-list clearfix" >
{volist name="star_hits" id="zanpian"}
<li class="col-md-4 col-sm-4 col-xs-3"><a class="star-pic img-circle" style="background: url({$zanpian.star_picurl}) no-repeat top center;padding-top:100%;background-position:50% 50%;background-size:cover;"  href="{$zanpian.star_readurl}"><span class="text-overflow">{$zanpian.star_name}</span></a>
</li>
{/volist}
</ul>
</div>
{/notempty}